package com.ssn.visitor.company;

import java.util.Random;

public class Manager extends Staff {
    Manager(String name) {
        super(name);
    }

    @Override
    void accept(Visitor visitor) {
        visitor.visit(this);
    }
    public Integer getProducts(){
        return new Random().nextInt(10);
    }
}
